<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <script type="text/javascript" src="<?=JS_PATH?>jquery.min.js"></script>
    <script src="<?=ASSETS?>time/js/foundation-datepicker.js" type="text/javascript"></script>
    <script src="<?=ASSETS?>time/js/foundation-datepicker.zh-CN.js" type="text/javascript"></script>

    <link href="<?=ASSETS?>time/css/foundation-datepicker.css" rel="stylesheet" type="text/css">
    <link rel="stylesheet" href="<?=ASSETS?>bootstrap/bootstrap.min.css" />
    <title>文章列表</title>
</head>
<body>
<div class="container" style="margin-top: 3%">

    <div class="row">

        <div class="col-lg-6" style="margin-left: -12px;">

            <div class="form-group form-inline">

                <label>起始时间&nbsp;</label>
                <input id="start_time" type="text" class="form-control input-sm"/>
                <label>起始时间&nbsp;</label>
                <input id="end_time" type="text" class="form-control input-sm"/>
                <button class="btn btn-primary btn-sm">查询</button>
            </div>

        </div>

        <div class="col-lg-3 col-lg-offset-3">
            <div class="form-group form-inline">
                <input type="text" placeholder="文章标题/编号" class="form-control input-sm"/>&nbsp;
                <button class="btn btn-primary btn-sm">搜索</button>
            </div>
        </div>

    </div>


    <div class="row" style="margin-top: 10px;">

        <div class="table">

            <table class="table table-responsive table-hover table-condensed">

                <thead>

                <tr>
                    <th>编号</th>
                    <th>所属文章</th>
                    <th>内容</th>
                    <th>评论时间</th>
                    <th>操作</th>
                </tr>

                </thead>

                <tbody>

                <tr>
                    <td>1</td>
                    <td>关于新手学习php的经验分享</td>
                    <td>是滴是滴所</td>
                    <td>2017-8-1 16:38:40</td>
                    <td>
                        <button class="btn btn-xs btn-primary">编辑</button>&nbsp;&nbsp;
                        <button class="btn btn-xs btn-danger">删除</button>
                    </td>
                </tr>

                </tbody>

            </table>


        </div>


    </div>


</div>
<script>

    $(function(){

        $("#start_time").fdatepicker({
            format: 'yyyy-mm-dd hh:ii',

        });

        $("#end_time").fdatepicker({
            format: 'yyyy-mm-dd hh:ii',

        });

    });

</script>

</body>
</html>
